Automattic\Jetpack\Publicize\REST_Controller S

Total Complexity 41
Dependencies 7
Dependents 3
Total lines 582
Lines of code 365
Logical lines of code 115
Comment lines 141
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
register_rest_routes()
S
37 1 100
update_publicize_connection()
S
49 5 34
create_publicize_connection()
S
47 4 39
make_proper_response()
S
58 5 15
update_dismissed_notices()
S
59 4 14
get_publicize_connections()
S
61 3 13
get_social_product_info()
S
56 2 19
manage_connection_permission_check()
S
64 3 9
update_connection_permission_check()
S
66 3 9
get_jetpack_social_connections_schema()
S
54 1 23
share_post()
S
55 1 22
get_dismiss_notice_endpoint_schema()
S
55 1 21
get_jetpack_social_connections_update_schema()
S
57 1 18
get_blog_id()
S
79 2 3
delete_publicize_connection()
S
62 1 11
__construct()
S
81 1 3
require_author_privilege_callback()
S
80 1 3
require_admin_privilege_callback()
S
80 1 3
get_publicize_connection_test_results()
S
69 1 6